package com.tuanzi.loan.business.repository.businesssystem.custom;

import com.tuanzi.loan.business.entity.businesssystem.BusinessProduct;
import com.tuanzi.loan.business.entity.family.ProductInfo;
import com.tuanzi.loan.vo.request.businesssystem.BusinessProductRequest;
import com.tuanzi.loan.vo.response.businesssystem.BusinessProductResponse;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;


public interface BusinessProductRepositoryCustom {
    Page<BusinessProductResponse> list(BusinessProductRequest searchRequest, Pageable pageable);

    List<ProductInfo> getActivityList();

    List<BusinessProduct> getProductList();

    List<BusinessProduct> getAutoProductList();

    BusinessProduct findByChannelId(Long channelId);
}

